package interfas;

import model.SurveyDAO;

import org.mybeans.dao.DAOException;

import databeans.EntityClass;

public interface EntityClassInterface {

	public abstract void create(EntityClass ec, SurveyDAO surveyDAO) throws DAOException;
	public abstract EntityClass lookup(int ecid) throws DAOException;
	public abstract EntityClass lookupBySidName(int sid, String name) throws DAOException;
	public abstract EntityClass[] getEntityClassBySid(int sid) throws DAOException;
	public abstract int size() throws DAOException;
	
}
